import javax.swing.*;
import java.awt.*;

public class Main {
    public static void main(String[] args) {
        JFrame frame = new JFrame();
        frame.setSize(420,460);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setResizable(false);
        frame.setLocationRelativeTo(null);
        frame.setTitle("Game 2048");
        GamePanel gamePanel = new GamePanel();
        frame.add(gamePanel);
        
        frame.setVisible(true);

    }
}